package main

import (
	"fmt"
	"goPlay/picture"
)

func main() {
	fmt.Println("---------start-----------")
	picture := picture.GetImg("http://7xohdn.com2.z0.glb.qiniucdn.com/2.png")
	// get img data
	// so
	// posdata := img.GetImgLine(img_data, format)
	posdata := picture.GetPicLine()
	// cut img data
	fmt.Println(posdata)
	imgs := picture.CutPic(posdata)
	fmt.Println("---------end--------", len(imgs))
}
